package com.cmc.cloud.cmclink.doc.vo.superwhitelistvo;

import com.cmes.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 有条件接载清单(DG)分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 有条件接载清单(DG)分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SuperWhitelistDgPageReqVO extends PageParam {

    @Schema(description = "特种货类型", example = "2")
    private String specialCargoType;

    @Schema(description = "超级白名单号")
    private String praNo;

    @Schema(description = "危险货物分类")
    private String imoClass;

    @Schema(description = "包装组别")
    private String packingGroup;

    @Schema(description = "危险货物编号")
    private String unNo;

    @Schema(description = "接货地(多个)")
    private String pors;

    @Schema(description = "装货港(多个)")
    private String pols;

    @Schema(description = "卸货港(多个)")
    private String pods;

    @Schema(description = "目的地(多个)")
    private String dels;

    @Schema(description = "船舶(多个)")
    private String vesselCodes;

    @Schema(description = "航线(多个)")
    private String laneCodes;

    @Schema(description = "文件id", example = "4118")
    private Long fileId;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
